import Vue from 'vue'
import App from './App.vue'
import router from './router'

// vxe-table报表（虚拟滚动）
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
Vue.use(VXETable)

import _ from 'lodash'//lodash
import rayllei from '@/utils/rayllei'//rayllei
import tools from '@/utils/tools'//公共方法
import sort from '@/utils/sort'//公共方法

// 全局挂载方法
Vue.prototype.rayllei = rayllei
Vue.prototype.tools = tools
Vue.prototype._ = _
Vue.prototype.sort = sort

import './plugins/element.js'//导入全局样式elemnt
import './styles/global.css'//导入全局样式
import '@/assets/fonts/iconfont.css'//iconfont
import '@/utils/index' //导出公共插件方法
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
